package com.zhb.zhbojbackendquestionservice.esDao;

import com.zhb.zhbojbackendmodel.model.dto.es.QuestionEsDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;
//题目es操作
public interface QuestionEsDao extends ElasticsearchRepository<QuestionEsDTO, Long> {
    List<QuestionEsDTO> findByUserId(Long userId);
}

